<html>
<head>
<title>test</title>
<script src="http://blog.dhole.info/assets/js/jquery/jquery-1.7.2.js"></script>	
<script>
	$(function(){
		$("#refresh").click(function(){		
			alert("refresh!");	
			document.location.reload();
		});
		
		$("#doIt").click(function(){
			alert("doIt!");	
			window.location.href="objc:doFunc2";
		});
	})
</script>
</head>
<body>
<h1 id="doIt">Hello World!</h1>
<a href="objc:doFunc1">aa</a>
<div id="refresh">refresh</div>
</body>
</html>